#ifndef LOGINDIALOG_H
#define LOGINDIALOG_H

#include <QWidget>
#include <QDialog>
#include<registerdialog.h>
#include<gobang.h>
#include<QSqlQuery>
namespace Ui {
class logindialog;
}

class logindialog : public QDialog
{
    Q_OBJECT

public:
    explicit logindialog(QWidget *parent = 0);
    ~logindialog();

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

private:
    Ui::logindialog *ui;
    RegisterDialog *reg;
    gobang *mw;
    QSqlQuery query;
};

#endif // LOGINDIALOG_H
